<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

{config_load file="password_forgotten.conf"}
{config_load file="default.conf" section="forms"}

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$language->getLanguage()}" dir="{$language->getDirection()}">
	<head>
		{include file=$theme->getTemplateUrl("head_common.tpl")}
		<title>{#PAGE_TITLE#}</title>
	</head>
	
	<body>
		{include file=$theme->getTemplateUrl("body_start.tpl")}
		
		<h2>{#HEADING_TITLE#}</h2>
		
		{if $messageStack->getSize("password_forgotten") > 0}
			<ul class="errors">
				{foreach item="message" from=$messageStack->getMessages("password_forgotten")}
					<li class="{$message.type}">{$theme->get_config_vars($message.message)}</li>
				{/foreach}
			</ul>
		{/if}
		
		<p>{#TEXT_MAIN#}</p>
		
		<form action="{$smarty.const.FILENAME_PASSWORD_FORGOTTEN}?action=process" method="post" id="password_forgotten">
			<p>
				<label for="email_address">{#ENTRY_EMAIL_ADDRESS#}</label>
				<input type="text" name="email_address" id="email_address" value="" />
			</p>
			
			<p><input type="submit" name="submit" value="{#TEXT_BUTTON_CONTINUE#}" /></p>
			
			<p><a href="{$smarty.const.FILENAME_LOGIN}">{#TEXT_BUTTON_BACK#}</a></p>
		</form>
		
		{include file=$theme->getTemplateUrl("body_end.tpl")}
	</body>
</html>
